<link type="text/css" href="https://cdn.bootcdn.net/ajax/libs/weui/0.4.3/style/weui.min.css" rel="stylesheet">
<link type="text/css" href="https://cdn.bootcdn.net/ajax/libs/jquery-weui/1.2.1/css/jquery-weui.min.css" rel="stylesheet">
<script type="text/javascript" src="https://cdn.bootcdn.net/ajax/libs/jquery-weui/0.8.3/js/jquery-weui.min.js"></script>



<!-- 弹窗组件文档 "http://old.jqweui.com/components#dialog"-->
<a href="javascript:;" class="weui_btn weui_btn_primary Alert1">提示窗</a>

<script type="text/javascript">
	//Alert弹窗
	var alertbtn = $('.Alert1');
	alertbtn.click(function () {
		$.alert({
			title: '标题',
			text: '内容文案',
			onOK: function () {
				//点击确认
				this.prev().remove(); //去除遮罩层（弹窗的上一个兄弟元素）
				this.remove(); //去除弹窗
				//dosomethings
			}
		});
	});
	//为了演示，先触发一个click
	alertbtn.click();
</script>
